/**
 * Created by Donghui Huo on 2017/3/21.
 */
// global.basePath = '/test_a1b2/'
global.basePath = ''
global.relatedBackendPath = 'http://localhost:8080/liaonong/'
var commonUrls = {
  leftTree: global.basePath + 'static/demo-data/tree.json',
  testTableInit: global.basePath + 'data/table.html',
  testTableRowDel: global.basePath + 'data/table-delete.html',
  testFormInit: global.basePath + 'data/form-init.html',
  testFormSave: global.basePath + 'data/form-save.html',
  userTableInit: global.relatedBackendPath + 'user/list',
  userTableRowDel: global.relatedBackendPath + 'user/delete',
  userAdd: global.relatedBackendPath + 'user/add',
  userSave: global.relatedBackendPath + 'user/save',
  userDetail: global.relatedBackendPath + 'user/detail',
  userInfo: global.relatedBackendPath + 'user/info',
  userUpdate: global.relatedBackendPath + 'user/update',
  /** 地址信息管理 */
  addressTreeInit: global.relatedBackendPath + 'address/queryAddressTree',
  addressTreeAdd: global.relatedBackendPath + 'address/addressTreeAdd',
  addressTreeUpdate: global.relatedBackendPath + 'address/addressTreeUpdate',
  addressTreeDel: global.relatedBackendPath + 'address/addressTreeDel',
  /** 供应商管理 add by houguoqing */
  supplierTableInit: global.relatedBackendPath + 'supplier/supplierList',
  supplierTableRowDel: global.relatedBackendPath + 'supplier/delSupplierById',
  supplierAdd: global.relatedBackendPath + 'supplier/addSupplier',
  supplierSave: global.relatedBackendPath + 'supplier/saveSupplier',
  supplierDetail: global.relatedBackendPath + 'user/detail',
  supplierInfo: global.relatedBackendPath + 'supplier/info',
  supplierUpdate: global.relatedBackendPath + 'supplier/update',
  /** 商品分类管理 */
  commodityClassTreeInit: global.relatedBackendPath + 'commodityClass/queryCommodityClassTree',
  commodityClassTreeSave: global.relatedBackendPath + 'commodityClass/commodityClassSave',
  commodityClassTreeUpdate: global.relatedBackendPath + 'commodityClass/commodityClassUpdate',
  commodityClassTreeDel: global.relatedBackendPath + 'commodityClass/commodityClassDel',
  /** 商品管理 */
  commodityManageInit: global.relatedBackendPath + 'commodityManage/list',
  commodityManageAdd: global.relatedBackendPath + 'commodityManage/add',
  commodityManageSave: global.relatedBackendPath + 'commodityManage/save',
  commodityManageTableRowDel: global.relatedBackendPath + 'commodityManage/delCommodityById',
  commodityManageInfo: global.relatedBackendPath + 'commodityManage/info',
  commodityManageUpdate: global.relatedBackendPath + 'commodityManage/update',
  /** 单计量单位管理 */
  unitsTableInit: global.relatedBackendPath + 'units/list',
  unitsAdd: global.relatedBackendPath + 'units/add',
  unitsSave: global.relatedBackendPath + 'units/save',
  unitsInfo: global.relatedBackendPath + 'units/info',
  unitsUpdate: global.relatedBackendPath + 'units/update',
  unitsTableRowDel: global.relatedBackendPath + 'units/delete',
  /** 多计量单位管理 */
  munitsTableInit: global.relatedBackendPath + 'munits/list',
  munitsAdd: global.relatedBackendPath + 'munits/add',
  munitsSave: global.relatedBackendPath + 'munits/save',
  munitsInfo: global.relatedBackendPath + 'munits/info',
  munitsUpdate: global.relatedBackendPath + 'munits/update',
  munitsTableRowDel: global.relatedBackendPath + 'munits/delete',
  /** 仓库管理 */
  storeTableInit: global.relatedBackendPath + 'store/storeList',
  storeManageAdd: global.relatedBackendPath + 'store/add',
  storeManageSave: global.relatedBackendPath + 'store/save',
  storeManageTableRowDel: global.relatedBackendPath + 'store/delStoreById',
  storeManageInfo: global.relatedBackendPath + 'store/info',
  storeManageUpdate: global.relatedBackendPath + 'store/update',
  /** 审批管理 */
  auditTableInit: global.relatedBackendPath + 'audit/auditList',
  auditAdopt: global.relatedBackendPath + 'audit/auditAdoptById',
  /** 采购进货管理 */
  buyInTableInit: global.relatedBackendPath + 'buyIn/list',
  buyInAdd: global.relatedBackendPath + 'buyIn/add',
  buyInSave: global.relatedBackendPath + 'buyIn/save',
  buyInInfo: global.relatedBackendPath + 'buyIn/info',
  buyInUpdate: global.relatedBackendPath + 'buyIn/update',
  /** 入库管理 */
  storageTableInit: global.relatedBackendPath + 'storage/storageList',
  vuerouter: {
    testTable: 'table',
    testForm: 'form',
    userTable: 'users',
    userAddForm: 'useradd',
    userUpdateForm: 'userinfo',
    userDetailForm: 'userdetail',
    addressTable: 'address',
    addressAddForm: 'addressadd',
    addressUpdateForm: 'addressinfo',
    /** 供应商管理 */
    supplierTable: 'supplier',
    supplierAddForm: 'supplierAdd',
    supplierUpdateForm: 'supplierInfo',
    supplierDetailForm: 'supplierDetail',
    /** 商品管理 */
    commodityManageTable: 'commodityManage',
    commodityManageAddForm: 'commodityManageAdd',
    commodityManageUpdateForm: 'commodityManageInfo',
    /** 单计量单位管理 */
    unitsTable: 'units',
    unitsAddForm: 'unitsadd',
    unitsUpdateForm: 'unitsinfo',
    /** 多计量单位管理 */
    munitsTable: 'munits',
    munitsAddForm: 'munitsadd',
    munitsUpdateForm: 'munitsinfo',
    /** 仓库管理 */
    storeTable: 'storeManage',
    storeAddForm: 'storeManageAdd',
    storeUpdateForm: 'storeManageInfo',
    /** 审批管理 */
    /** 采购进货 */
    buyInTable: 'buyIn',
    buyInAddForm: 'buyInAdd',
    buyInUpdateForm: 'buyInInfo'
  }
}

export {
  commonUrls
}
